import request from "@/api/request";

// 班级列表
export function classList(data) {
  return request({
    url: "/admin/xy/clazz/list",
    method: "get",
    data
  });
}

// 新增班级
export function classSave(data) {
  return request({
    url: "/admin/xy/clazz/save",
    method: "post",
    data
  });
}

// 更新班级
export function classUpdate(data) {
  return request({
    url: "/admin/xy/clazz/update",
    method: "post",
    data
  });
}

//班级明细
export function classDetail(data) {
  return request({
    url: "/admin/xy/clazz/detail",
    method: "get",
    data
  });
}
//删除班级
export function classDel(data) {
  return request({
    url: "/admin/xy/clazz/del",
    method: "get",
    data
  });
}
